<include file="public@head_top"/>
<link type="text/css" href="__TMPL__/public/assets/css/login.css" rel="stylesheet" />
</head>
<body class="bgeee">
<include file="public@head"/>

<php>
foreach($configblock['会员_登录图片_1920_768'] as $key=>$val)
{
	$loginbanner = $val['thumbnail'];
}
if(!empty($loginbanner))
{
	$loginbannerurl = cmf_get_image_url($loginbanner);
}else{
	$loginbannerurl = "__TMPL__/public/assets/images/login/login.jpg";
}
</php>
<div class="loginmain" style="background:url({$loginbannerurl}) no-repeat center center;">
  <div class="wrap clearfloat">
  <div class="st-dataBlock">
     <div class="main_right">
     <form class="js-ajax-form" action="{:url('user/login/doLogin')}" method="post">
        <div class="main_r_up">
            <img src="__TMPL__/public/assets/images/login/user.png" />
            <div class="pp">用户登录</div>
        </div>
        <div class="sub"><p>还没有账号？<a href="{:cmf_url('user/Register/index')}"><span class="blue">立即注册</span></a></p></div>
        <div class="txt">
            <span style="letter-spacing:8px;">用户名:</span>
            <div class="txtphone"><input name="username" type="text" placeholder="请输入手机号/邮箱/用户名"/></div>
        </div>
        <div class="txt">
            <span style="letter-spacing:4px;">登录密码:</span>
            <div class="txtphone"><input name="password" type="password" placeholder="请输入登录密码"/></div>
        </div>
        <div class="txt">
            <span style="letter-spacing:8px;">验证码:</span>
            <div class="txtphone"><input name="captcha" type="text" class="txtyzm" placeholder="请输入验证码"/>
            <div class="yzmimg"><captcha height="38" width="160" font-size="20" /></div>
            </div>
        </div>
        <div class="xiayibu"><button class="js-ajax-submit" type="submit">确定</button></div>
        <div class="xieyi">
            <a href="{:cmf_url('user/Login/findPassword')}">忘记密码?</a>
        </div>
        <div class="loginwechat st-mt15">
          <ul class="form other-form">
            <li class="other-login">
              <a href="{:cmf_plugin_url('ThirdLogin://Login/auth',['type' => 'qq'])}" class="qq">qq登录</a>
              <a href="{:cmf_plugin_url('ThirdLogin://Login/auth',['type' => 'sina'])}" class="sina">新浪微博登录</a>
              <!--<a href="{:cmf_plugin_url('ThirdLogin://Login/auth',['type' => 'wechat'])}" class="weixin">微信登录</a>-->
              <hook name="wx_login"/>
            </li>
          </ul>
        </div>
     </form>
     </div>
   </div>
  </div>
</div>

<include file="public@footer"/>
</body>    
</html>